package com.example.sjc715.main.ui.home

import com.example.net_library.entity.LoginEntity
import com.example.net_library.entity.Res
import com.example.net_library.entity.SimpleTypeEntity
import com.example.net_library.entity.SimpleVideoEntity
import com.example.sjc715.login.LoginState

interface HomeState {
    data class TypeSuccess(val type: Res<List<SimpleTypeEntity>>): HomeState
    data class VideoSuccess(val video: Res<List<SimpleVideoEntity>>): HomeState
    data class Failure(val error:String): HomeState
}